<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li><a href="{|U:'index'}" class="action">类型列表</a></li>
				<li><a href="{|U:'add'}">类型添加</a></li>
				<li><a href="{|U:'upCache'}">更新缓存</a></li>
			</ul>
		</div>
		<form action="" method="post">
			<table class="table2">
				<thead>
					<tr>
						<td class="w50">ID</td>
						<td>类型列表</td>
						<td class="w200">操作</td>
					</tr>
				</thead>
				<tbody>
					<list from='$goods_type' name='$gt'>
						<tr>
							<td>{$gt.cat_id}</td>
							<td>{$gt.cat_name}</td>
							<td>
								<a href="{|U:'Attribute/index',array('cat_id'=>$gt['cat_id'])}">属性</a>|
								<a href="{|U:'edit',array('cat_id'=>$gt['cat_id'])}">编辑</a>|
								<a href="{|U:'del',array('cat_id'=>$gt['cat_id'])}">删除</a>
							</td>
						</tr>
					</list>
				</tbody>
			</table>		
		</form>
		
	</div>
</body>
</html>